package com.fujitsu.nanjing.tieba.dao;

import com.fujitsu.nanjing.tieba.ibator.CoreFriend;
import com.fujitsu.nanjing.tieba.ibator.CoreFriendCriteria;
import com.fujitsu.nanjing.tieba.ibator.CoreFriendKey;
import java.util.List;

public interface CoreFriendDAO {
    int countByExample(CoreFriendCriteria example);

    int deleteByExample(CoreFriendCriteria example);

    int deleteByPrimaryKey(CoreFriendKey _key);

    void insert(CoreFriend record);

    void insertSelective(CoreFriend record);

    List<CoreFriend> selectByExample(CoreFriendCriteria example);

    CoreFriend selectByPrimaryKey(CoreFriendKey _key);

    int updateByExampleSelective(CoreFriend record, CoreFriendCriteria example);

    int updateByExample(CoreFriend record, CoreFriendCriteria example);

    int updateByPrimaryKeySelective(CoreFriend record);

    int updateByPrimaryKey(CoreFriend record);
}